php remove script tag from string

120

php remove script tag from string -

$html = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $html);

Comments

Submit
0 Comments